package cn.org.timespace.ons.service.base.impl;

import java.util.List;

import cn.org.timespace.ons.dao.base.MachineTypeNameValueDao;
import cn.org.timespace.ons.service.base.MachineTypeNameValueService;
import cn.org.timespace.ons.vo.base.MachineTypeNameValue;

public class MachineTypeNameValueServiceImpl implements
		MachineTypeNameValueService {
	
	private MachineTypeNameValueDao machineTypeNameValueDao;

	
	
	public MachineTypeNameValueDao getMachineTypeNameValueDao() {
		return machineTypeNameValueDao;
	}

	public void setMachineTypeNameValueDao(
			MachineTypeNameValueDao machineTypeNameValueDao) {
		this.machineTypeNameValueDao = machineTypeNameValueDao;
	}

	@Override
	public void delete(MachineTypeNameValue persistentInstance) {
		// TODO Auto-generated method stub
		this.machineTypeNameValueDao.delete(persistentInstance);
	}

	@Override
	public List<MachineTypeNameValue> findByCondition(String id) {
		// TODO Auto-generated method stub
		return this.machineTypeNameValueDao.findByCondition(id);
	}

	@Override
	public MachineTypeNameValue findById(String id) {
		// TODO Auto-generated method stub
		return this.machineTypeNameValueDao.findById(id);
	}

	@Override
	public void save(MachineTypeNameValue transientInstance) {
		// TODO Auto-generated method stub
		this.machineTypeNameValueDao.save(transientInstance);
	}

	@Override
	public void update(MachineTypeNameValue instance) {
		// TODO Auto-generated method stub
		this.machineTypeNameValueDao.update(instance);
	}

}
